æòÅⁿâoâiü[

Application beginUndoGroup() Method


    app.beginUndoGroup(undoString)

Description

    An undo group allows a script to logically group all of its actions as a single undoable action (for use with the Edit Undo/Redo menu items). Should be used in conjunction with the application.endUndoGroup() method.

    Please note that beginUndoGroup() and endUndoGroup() pairs can be nested. Groups within groups become part of the larger group, and will undo correctly. In such cases, the names of inner groups are ignored.

Parameters

    undoString

    (mandatory) the text that will appear for the Undo command in the Edit menu (i.e. "Undo undoString")

See also

    Application endUndoGroup() Method